<!DOCTYPE html>
<html>
	<head>
		<meta charset="utf-8" />
		<title></title>
		<meta http-equiv="Content-type" content="text/css" />
		<style type="text/css">
			* {
				margin: 0;
				padding: 0;
			}
			li {
				list-style: none;
				padding: 20px 0;
				margin-left: 100px;
			}
			img {
				display: inline-block;
				vertical-align: middle;
			}
			a {
				display: inline-block;
				width: 100px;
				height: 31px;
				text-align: center;
				line-height: 33px;
				text-decoration: none;
				background-color: #FFFFFF;
			}
			input {
				font-size: 20px;
			}
			a:hover {
				background-color: #00B5E9;
			}
			.rgba{
				width: 600px;
				position: absolute;
				right: 5%;
				top: 7%;
				font-size: 20px;
				background-color: rgba(0,0,0,.3);
			}
			.h1{
				position: absolute;
				right: 50%;
				top: 35%;
				color: #D6D8DB;
				font-size: 1.875rem;
			}
			.rgba .box {
				width: 100%;
				height: 200px;
				margin: 10px 0;
				color: #FFFFFF;
			}
			.shang {
				text-align: center;
				line-height: 200px;
				font-size: 35px;
			}
			.xia input {
				font-size: 20px;
				font-weight: 400;
				margin-left: 125px;
				margin-top: 100px;
			}
			.xia a {
				margin-left: 125px;
				margin-top: 0;
			}
		</style>
	</head>
	<body background="images/1.jpg">
		<div class="h1">
			<h1>Welcome!</h1>
			<h1>CQan菜鸟信息发布系统</h1>
		</div>
		<div  class="rgba">
		<form action="" method="post">
		<div class="shang box">登录页面</div>
		
		<div class="zhong box">
			<ul>
				<li>账&nbsp;&nbsp;&nbsp;&nbsp;号：<input name="zh" value=""></li>
				<li>密&nbsp;&nbsp;&nbsp;&nbsp;码：<input name="mm" value=""></li>
				<!-- <li>验证码：<input type="text" name="check" /> <img src="image.php" onclick="this.src='image.php'"></li> -->
			</ul>
		</div>
		
		<div class="xia box">
			<a href="../index.html">确认登录</a>
			<a href="register.html">注册</a>
		</div>
		</form>
		</div>
	</body>
</html>
<!-- <?php
session_start();
if(isset($_POST['dl']))
{
	$zczh = $_SESSION['zh'];
	$zcmm = $_SESSION['mm'];
	$tpyzm = $_SESSION['string'];
	
	$dlzh=$_POST['zh'];
	$dlmm = $_POST['mm'];
	$dlyzm = $_POST['check'];
	
	// $yzzh = preg_match('/^\w{1,10}$/',$zh);
	// $yzmm = preg_match('/^\d{4,14}$/',$mm);
	if(($zczh==$dlzh)&&($zcmm==$dlmm)&&($tpyzm==$dlyzm))
	{
		echo "<script>alert('登录成功！');</script>";
		header("Location: ../html/index.html");
	}
	elseif($zczh!=$dlzh)
	{
		echo "<script>alert('账号输入错误,请重新输入！');</script>";
	}
	elseif($zcmm!=$dlmm)
	{
		echo "<script>alert('密码输入错误,请重新输入！');</script>";
	}
	elseif($tpyzm!=$dlyzm)
	{
		echo "<script>alert('验证码输入错误,请重新输入！');</script>";
	}
}
?> -->